#include "operatortest.h"
#include <stdio.h>
OperatorTest::OperatorTest(int a=0, int b=0)
{
    this->a = a;
    this->b = b;
}

int OperatorTest::getA()
{
    return a;
}

int OperatorTest::getB()
{
    return b;
}

OperatorTest OperatorTest::operator + (const OperatorTest& p)
{
    OperatorTest ret;
    printf("operatortest operator + (const Complex& p)\n");
    ret.a = this->a + p.a;
    ret.b = this->b + p.b;

    return ret;
}
